Release 10.1A: OpenEdge Development:
Java Open Clients


Navigating SDOResultSet rows

The methods in Table 9–1 change or report the position of the cursor in the SDOResultSet.

Table 9–1: Navigating SDOResultSet rows
Syntax
Description
boolean absolute(int n) 
Positions the cursor on the n-th row. A negative number positions the cursor relative to the end of the SDOResultSet. The index (n) is 1-based.
boolean previous() 
Moves the cursor backwards.
boolean next() 
Moves the cursor forward.
boolean relative(int n) 
Moves the cursor n rows forward (backward if n is negative).
boolean first() 
Positions the cursor on the first row.
void beforeFirst() 
Positions the cursor before the first row.
boolean last() 
Positions the cursor on the last row.
void afterLast() 
Positions the cursor after the last row.
boolean isAfterLast() 
Is the cursor after the last row?
boolean isFirst() 
Is the cursor before the first row?
boolean isLast() 
Is the cursor on the last row?
int getRow() 
Gets the position (1-based) of the cursor.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095